package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 选手成绩录入对象 grade_table
 *
 * @author zhangjinlei
 * @date 2022-04-26
 */
public class GradeTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 选手名字 */
    @Excel(name = "选手名字")
    private String name;

    /** 国籍 */
    @Excel(name = "国籍")
    private String country;

    /** 所在赛区 */
    @Excel(name = "所在赛区")
    private String locatedArea;

    /**
     * 比赛项目种类
     */
    private String pationProjectType;
    /** 比赛场地 */
    @Excel(name = "比赛场地")
    private String competitionVenue;

    /** 赛事进度 */
    @Excel(name = "赛事进度")
    private Long tournamentProgress;

    /** 得分 */
    @Excel(name = "得分")
    private BigDecimal score;

    /** 个人名次 */
    @Excel(name = "个人名次")
    private Long individualRanking;

    /** 参与项目名称 */
    @Excel(name = "参与项目名称")
    private String pationProjectName;

    /** 是否删除 0-未删除 ，1-已删除 */
    private Integer isDeleted;

    /** 创建人ID */
    private Long createUserid;

    /** 创建人姓名 */
    private String createUsername;

    /** 服务器IP */
    private String serverIp;

    /** 最后修改人ID */
    private Long updateUserid;

    /** 最后修改人姓名 */
    private String updateUsername;




    /** 名次 */
    @Excel(name = "名次")
    private Long ranking;



    /** 金牌 */
    @Excel(name = "金牌")
    private Long goldMedal;

    /** 银牌 */
    @Excel(name = "银牌")
    private Long silverMedal;

    /** 铜牌 */
    @Excel(name = "铜牌")
    private Long bronze;

    /** 总数 */
    @Excel(name = "总数")
    private Long sum;





    public Long getRanking() {
        return ranking;
    }

    public void setRanking(Long ranking) {
        this.ranking = ranking;
    }

    public Long getGoldMedal() {
        return goldMedal;
    }

    public void setGoldMedal(Long goldMedal) {
        this.goldMedal = goldMedal;
    }

    public Long getSilverMedal() {
        return silverMedal;
    }

    public void setSilverMedal(Long silverMedal) {
        this.silverMedal = silverMedal;
    }

    public Long getBronze() {
        return bronze;
    }

    public void setBronze(Long bronze) {
        this.bronze = bronze;
    }

    public Long getSum() {
        return sum;
    }

    public void setSum(Long sum) {
        this.sum = sum;
    }


    public String getPationProjectType() {
        return pationProjectType;
    }

    public void setPationProjectType(String pationProjectType) {
        this.pationProjectType = pationProjectType;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setCountry(String country)
    {
        this.country = country;
    }

    public String getCountry()
    {
        return country;
    }
    public void setLocatedArea(String locatedArea)
    {
        this.locatedArea = locatedArea;
    }

    public String getLocatedArea()
    {
        return locatedArea;
    }
    public void setCompetitionVenue(String competitionVenue)
    {
        this.competitionVenue = competitionVenue;
    }

    public String getCompetitionVenue()
    {
        return competitionVenue;
    }
    public void setTournamentProgress(Long tournamentProgress)
    {
        this.tournamentProgress = tournamentProgress;
    }

    public Long getTournamentProgress()
    {
        return tournamentProgress;
    }
    public void setScore(BigDecimal score)
    {
        this.score = score;
    }

    public BigDecimal getScore()
    {
        return score;
    }
    public void setIndividualRanking(Long individualRanking)
    {
        this.individualRanking = individualRanking;
    }

    public Long getIndividualRanking()
    {
        return individualRanking;
    }
    public void setPationProjectName(String pationProjectName)
    {
        this.pationProjectName = pationProjectName;
    }

    public String getPationProjectName()
    {
        return pationProjectName;
    }
    public void setIsDeleted(Integer isDeleted)
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted()
    {
        return isDeleted;
    }
    public void setCreateUserid(Long createUserid)
    {
        this.createUserid = createUserid;
    }

    public Long getCreateUserid()
    {
        return createUserid;
    }
    public void setCreateUsername(String createUsername)
    {
        this.createUsername = createUsername;
    }

    public String getCreateUsername()
    {
        return createUsername;
    }
    public void setServerIp(String serverIp)
    {
        this.serverIp = serverIp;
    }

    public String getServerIp()
    {
        return serverIp;
    }
    public void setUpdateUserid(Long updateUserid)
    {
        this.updateUserid = updateUserid;
    }

    public Long getUpdateUserid()
    {
        return updateUserid;
    }
    public void setUpdateUsername(String updateUsername)
    {
        this.updateUsername = updateUsername;
    }

    public String getUpdateUsername()
    {
        return updateUsername;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("country", getCountry())
            .append("locatedArea", getLocatedArea())
            .append("competitionVenue", getCompetitionVenue())
            .append("tournamentProgress", getTournamentProgress())
            .append("score", getScore())
            .append("individualRanking", getIndividualRanking())
            .append("pationProjectName", getPationProjectName())
            .append("isDeleted", getIsDeleted())
            .append("createUserid", getCreateUserid())
            .append("createUsername", getCreateUsername())
            .append("createTime", getCreateTime())
            .append("serverIp", getServerIp())
            .append("updateUserid", getUpdateUserid())
            .append("updateUsername", getUpdateUsername())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
